<%@page import="java.util.Map"%>
<%@page import="java.util.Iterator"%>
<%@page import="java.util.HashMap"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>Lab Analysis page</title>
    <link rel="stylesheet" href="css/jquery.mobile-1.3.2.min.css" />
	<link rel="stylesheet" href="css/jquery-ui-1.10.3.css" />
	<script type="text/javascript" src="js/jquery-1.10.2.min.js"></script>
	
	<script type="text/javascript">

	$(document).ready(function(){
		$.mobile.ajaxEnabled = false;
	});
	</script> 
	<script type="text/javascript" src="js/jquery.mobile-1.3.2.min.js"></script>
		
</head>

<body>
	<%
	HashMap  userdataMap = (HashMap)session.getAttribute("userdata");
	System.out.println(userdataMap);
	Iterator iterator = userdataMap.entrySet().iterator();
	String barcode = null;
	HashMap barcodedata = null;
	 
	%>
	<div data-role="page" id="LabUser">
		<div data-position="fixed" data-role="header" align="center" data-theme="b">
		<a href="menudisplay" data-role="buttun" data-icon="home">Menu</a>
			<div>&nbsp;</div>
			<div><h1>PARVATI SOLVENTS EXTRACTION PVT LTD</h1></div>
			<div><h3>GUT NO.76, KHADGAON,TALUKA: BADNAPUR,DISTRICT:JALNA-431203,MAHARASHTRA,INDIA</h3></div>  
		</div>
		<br>
		<div data-role="content">
		<ul data-role="listview" data-filter="true" id="userlist">
			<%
			while(iterator.hasNext()){
				Map.Entry entry = (Map.Entry)iterator.next();
				HashMap dataMAp = (HashMap)entry.getValue();
				System.out.println(dataMAp);
				out.println("<li><a href='javascript:alert(\"password : "+dataMAp.get("password")+" \n Role: "+dataMAp.get("role")+"\")'>"+dataMAp.get("username")+"</a></li>");
			}
			%>
		</ul>			
		</div>
		
	</div>
</body>
</html>
</body>
</html>